package org.dromara.platform.mapper;

import org.apache.ibatis.annotations.Param;
import org.dromara.platform.domain.TMiniProgramCategory;
import org.dromara.platform.domain.vo.TMiniProgramCategoryVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.platform.domain.vo.TMiniProgramDomainVo;

import java.util.List;

/**
 * 小程序类目信息Mapper接口
 *
 * @author Lion Li
 * @date 2025-06-11
 */
public interface TMiniProgramCategoryMapper extends BaseMapperPlus<TMiniProgramCategory, TMiniProgramCategoryVo> {

    List<TMiniProgramCategoryVo> selectBaseId(@Param("baseId")Long baseId);

    void deleteByBaseIdAndCategoryId(@Param("baseId") Long baseId, @Param("categoryId") Integer categoryId);
}
